package com.tools.pojo.user.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tools.common.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(description = "角色表", name = "角色表")
@TableName("role")
public class Role extends BaseEntity {
    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色代码")
    private String code;

    @Schema(description = "角色描述")
    private String description;

    @Schema(description = "角色状态（ENABLED正常  DISABLED停用）")
    private String status;

    @Schema(description = "角色类型（SYSTEM/CUSTOM）")
    private String roleType;

    @Schema(description = "显示排序")
    private Integer sort;
}